// 默认配置
export const DEFAULT_CONFIG = {
  title: '选择人员',
  width: '80%',
  maxCount: Infinity,
  showAdvancedSearch: true,
  multiple: true,
  searchFields: ['name', 'mobile', 'department'],
  pageSize: 10,
  pageSizes: [10, 20, 50, 100],
}

// API配置
export const API_CONFIG = {
  getDepartments: '/api/departments',
  getUsers: '/api/users',
  addUsers: '/api/users/batch',
}

// 搜索防抖时间
export const SEARCH_DEBOUNCE = 300

// 缓存配置
export const CACHE_CONFIG = {
  enable: true,
  expireTime: 5 * 60 * 1000, // 5分钟
}
